/**
 * 终端相关的混入
 */
export default {
  computed: {
    // 是否为iphoneX
    isIphoneX() {
      const system = uni.getSystemInfoSync().model.replace(/\s/g, '-').toLowerCase()
      return system.indexOf('iphone-x') >= 0 || system.indexOf('iphone-11') >= 0
    }
  }
}